package com.vmmethod.task3;

public class JamesBond {

	public boolean jbRegex(String in) {
		String pattern = "(\\d)" + "[(]" + "(\\d)" + "007" + "(\\d)" + "[)]"
				+ "(\\d)";
		return in.matches(pattern);
	}

}